﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using AjaxControlToolkit;


namespace SisEagle.View.Web.Produto
{
    /// <summary>
    /// Summary description for SlideService
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [System.ComponentModel.ToolboxItem(false)]
    [System.Web.Script.Services.ScriptService]
    public class SlideService : System.Web.Services.WebService
    {


        [WebMethod]
        public  AjaxControlToolkit.Slide[] GetSlides()
        {
            List<Slide> images = new List<Slide>();


            images.Add(new AjaxControlToolkit.Slide("../Uploads/carros-tunados1.jpg", "Botao Mais", "mango"));
            images.Add(new AjaxControlToolkit.Slide("../Uploads/fotos-de-carros-rebaixados-3.jpg", "billgates", "billgates"));
            images.Add(new AjaxControlToolkit.Slide("../Uploads/Fotos_de_Carros_Tunados.jpg", "cornflake", "cornflake"));
            images.Add(new AjaxControlToolkit.Slide("../Uploads/Mustang.jpg", "microsoft", "microsoft"));
            return (images.ToArray());


        }
    }
}
